<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridDataBound2.aspx.cs" Inherits="GridDataBound2" %>
<%@ Register Assembly="GridControl" Namespace="GridControl" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
           <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div style="position:relative;top:20px;left:30px">
         <cc1:YuiGrid  ID="YuiGrid1" runat="server"  AutoGeneratColumns="false" EnableRowSorting="true" Width="450px" EnablePaging="true" PagingStyle="NavBar" >
             <Columns>
                
                <cc1:ColModel header="Movie Title" dataIndex="TITLE" sortable="true" width="200" runat="server" />
                <cc1:ColModel header="Votes" dataIndex="VOTES" sortable="true" width="60" runat="server"/>
                <cc1:ColModel header="Rating" dataIndex="RATING" sortable="false" width="60" runat="server"/>
                <cc1:ColModel header="Year" dataIndex="YEAR" sortable="false" width="60" runat="server"/>
            </Columns>
       </cc1:YuiGrid>
      </div>
    </div>
    </form>
</body>
</html>
